package com.shop.cereshop.commons.tencent.im.model.msg.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @description: 腾讯云IM文本消息数据
 * @author zdd
 * @date 2025/9/9 22:45
 * @version 1.0
 */
@ApiModel("文本消息数据")
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class TextMsgData implements Serializable, MsgData {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("消息内容")
    @NotBlank(message = "text不能为空")
    private String text;

}
